package request

import (
	"github.com/flipped-aurora/gin-vue-admin/server/model/common/request"
	"time"
)

type Seckill_activity_deviceSearch struct {
	CreatedAtRange []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	request.PageInfo
}

type ClearRedisRequest struct {
	// 可以根据需要添加参数
}

// 确保之前提到的结构体都存在
type UpdateStockSagaRequest struct {
	Activity_device_id int `json:"activity_device_id"`
	Stock              int `json:"stock"`
}

type PreheatStockRequest struct {
	Activity_device_id int `json:"activity_device_id"`
}

type DecreaseStockRequest struct {
	Activity_device_id int `json:"activity_device_id"`
	Stock              int `json:"stock"`
}

type UpdateStockRequest struct {
	Activity_device_id int `json:"activity_device_id"`
	Stock              int `json:"stock"`
}
